package o;

import android.app.Activity;
import android.content.ActivityNotFoundException;
import android.content.Context;
import android.content.Intent;
import androidx.annotation.NonNull;

public abstract class eth {
    public static void ˊ(@NonNull Context context) {
        Object obj = 1;
        if (context instanceof Activity) {
            if (azc.ˎ().ॱ() < 14) {
                obj = null;
            }
            if (obj != null) {
                try {
                    Intent intent = new Intent();
                    intent.setAction("android.settings.WIRELESS_SETTINGS");
                    intent.putExtra("use_emui_ui", true);
                    context.startActivity(intent);
                    return;
                } catch (ActivityNotFoundException e) {
                    Logger.e("NetConfigUtils", "can not find ACTION_WIRELESS_SETTINGS");
                }
            }
            context.startActivity(new Intent("android.settings.SETTINGS"));
            return;
        }
        Logger.e("NetConfigUtils", "error call method.");
    }

    public static void ॱ(Context context) {
        ((etj) cdb.ॱ(etj.class)).ˏ(context);
    }
}
